package com.wechat.api.dao;

import com.wechat.api.entity.User;
import org.apache.ibatis.annotations.InsertProvider;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * Created by Liumh on 2018/4/21.
 */
public interface UserDao {

    @Select("select * from user")
    List<User> selectList();

//    @InsertProvider("")
    void insert(User user);
}
